﻿#ifndef PLAYERWIDGET_H
#define PLAYERWIDGET_H

#include <QWidget>

namespace Ui {
class PlayerWidget;
}

class PlayerWidget : public QWidget
{
    Q_OBJECT

public:
    explicit PlayerWidget(const QString &svd_filename, QWidget *parent = nullptr);
    ~PlayerWidget();

//    const QString word = "、；一亠丄二三土王田苗国貅瞄邈齉";
    const QString word = "齉邈瞄貅国苗田王土三二丄亠一；、\n";

private:
    Ui::PlayerWidget *ui;

    QString svd_filename_;
    QList<QString> frames;

    QList<QString>::iterator it;
};

#endif // PLAYERWIDGET_H
